package com.einmeer.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;


/**
 * @author 芊嵛
 * @date 2024/3/18
 */
@FeignClient("sysfile")
public interface FileService {
    @PostMapping(value = "/sysFile/image/upload",consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    String upload(MultipartFile file);
}
